package com.ncloud.chnl.entity;

import java.io.Serializable;
import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;

@SuppressWarnings("serial")
public class Chnl implements Serializable{
	@JSONField(serializeUsing = ToStringSerializer.class)
	private Long chnlId;
	
	private String chnlName;
	
	private String chnlType;
	
	private String chnlLevel;
	
	private String province;
	
	private String area;
	
	private String address;
	
	private String enterpriseCode;
	
	private String enterpriseLegal;
	
	private String legalCertNum;
	
	private String contact;
	
	private String email;
	
	private String phone;
	
	private String fax;
	
	@JSONField(serializeUsing = ToStringSerializer.class)
	private Long  parentId;
	private String state;
	@JSONField(format="yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	@JSONField(serializeUsing = ToStringSerializer.class)
	private Long createUser;
	
	@JSONField(format="yyyy-MM-dd HH:mm:ss")
	private Date updateTime;
	@JSONField(serializeUsing = ToStringSerializer.class)
	private Long updateUser;
	
	private String remark;
	
	public Long getParentId() {
		return parentId;
	}
	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}
	public Long getCreateUser() {
		return createUser;
	}
	public void setCreateUser(Long createUser) {
		this.createUser = createUser;
	}
	public Long getUpdateUser() {
		return updateUser;
	}
	public void setUpdateUser(Long updateUser) {
		this.updateUser = updateUser;
	}
	public Long getChnlId() {
		return chnlId;
	}
	public void setChnlId(Long chnlId) {
		this.chnlId = chnlId;
	}
	
	public String getChnlType() {
		return chnlType;
	}
	public void setChnlType(String chnlType) {
		this.chnlType = chnlType;
	}
	

	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getChnlName() {
		return chnlName;
	}
	public void setChnlName(String chnlName) {
		this.chnlName = chnlName;
	}
	public String getChnlLevel() {
		return chnlLevel;
	}
	public void setChnlLevel(String chnlLevel) {
		this.chnlLevel = chnlLevel;
	}
	public String getArea() {
		return area;
	}
	public void setArea(String area) {
		this.area = area;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getFax() {
		return fax;
	}
	public void setFax(String fax) {
		this.fax = fax;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getEnterpriseLegal() {
		return enterpriseLegal;
	}
	public void setEnterpriseLegal(String enterpriseLegal) {
		this.enterpriseLegal = enterpriseLegal;
	}
	public String getLegalCertNum() {
		return legalCertNum;
	}
	public void setLegalCertNum(String legalCertNum) {
		this.legalCertNum = legalCertNum;
	}
	public String getContact() {
		return contact;
	}
	public void setContact(String contact) {
		this.contact = contact;
	}
	public String getEnterpriseCode() {
		return enterpriseCode;
	}
	public void setEnterpriseCode(String enterpriseCode) {
		this.enterpriseCode = enterpriseCode;
	}
	
}
